﻿using System.Windows.Forms;
using GeoSketch2.Core;

namespace GeoSketch2.Archaeo
{
    /// <summary>
    /// The toolbar button for the clone tool
    /// </summary>
    public partial class TBBClone : BaseToolbarButton
    {
        #region Constructor
        /// <summary>
        /// The toolbar button for the clone tool
        /// </summary>
        public TBBClone()
        {
            InitializeComponent();
            ToolTipText = "Clone";
        }  
        #endregion
        
        #region Properties
        /// <summary>
        /// Gets the tool assigned to the button
        /// </summary>
        protected override BaseTool Tool
        {
            get
            {
                return new TCLone((Viewport)DisplayBox.Viewport);
            }
        }
        #endregion
    }
}
